STEP 7: Let's change the name of the variable we are using to store the second answer from the user.

  • Change the name of the new variable we created to verb.
  • Drag out Say. Replace the string in the .say() command with the variable verb.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)